package com.jieao.content.dto;

import com.jieao.content.domain.ArticleComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description
 * @Author weifanl
 * @Date2020/5/26 13:40
 **/
@Data
@EqualsAndHashCode(callSuper=true)
public class ArticleCommentDto extends ArticleComment {
    private Long pUserId;
    private String pUserName;
    private Integer likeNum;
    private Integer isLike;
    private String avatar;

    private String articleTitle;

    private List<ArticleCommentDto> chlidren;

    public ArticleCommentDto(){
        this.chlidren = new ArrayList<ArticleCommentDto>();
    }
}
